package com.bwie.pojo;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.Data;

/**
 * 
 * @TableName tb_order
 */
@Data
public class TbOrder {
    /**
     * ID
     */
    private Integer orderId;

    /**
     * 商品ID
     */
    private Integer commodityId;

    /**
     * 数量
     */
    private Integer num;

    /**
     * 价格
     */
    private Integer price;

    /**
     * 购买时间
     */
    private Date buyTime;

    /**
     * 订单编号
     */
    private String orderCode;
    @TableField(exist = false)
    private String commodityCode;
    @TableField(exist = false)
    private String commodityName;
    @TableField(exist = false)
    private Integer buyNum;

}